Configure you own tomcat/liferay for OX applications

Since v5.3

If you're using Tomcat 6 copy el-api.jar and jasper-el.jar from the Tomcat lib folder included in OpenXava (or any Tomcat 7) to the lib folder of your Tomcat 6.

Since v5.0

It is not needed any special configuration for your own Tomcat or Liferay, because OpenXava applications contain all the needed libraries.

Since v3.0.2

How to configure a liferay/tomcat in order to run OX application in it.
There are a few steps to do before you can run OX applications
  • First of all you have to install your Tomcat or Liferay.
  • After this is done copy the files {OX}/tomcat/common/lib/ejb.jar, {OX}/tomcat/common/lib/jta.jar to the {LR}/common/lib folder.
That's all.

Until v3.0.1

How to configure a liferay/tomcat in order to run OX application in it.
There are a few steps to do before you can run OX applications
  • First of all you have to install Tomcat or Liferay.
  • After this is done copy the files {OX}/tomcat/common/lib/ejb.jar, {OX}/tomcat/common/lib/hsqldb.jar,{OX}/tomcat/common/lib/jta.jar
to the {LR}/common/lib folder.
  • Then copy the files
{OX}/tomcat/data/openxava-db.script
{OX}/tomcat/data/openxava-db.properties
to the {LR}/data folder

  • Edit the {LR}/conf/context.xml and add
<Resource name="jdbc/OpenXavaDS" auth="Container" type="javax.sql.DataSource"
    maxActive="20" maxIdle="5" maxWait="10000"
    username="sa" password="" driverClassName="org.hsqldb.jdbcDriver"
    url="jdbc:hsqldb:file:../data/openxava-db"/>
 

In this file you have to make the entries for your own application.

When all steps are done your own applications should run.

Have fun. :)